<?php if ($userBank->num_rows() > 0) : ?>
	<?php foreach($userBank->result() as $key=>$value) : ?>
	<label class="take-bank">
		<input type="radio" name="user_bank_id" <?php echo ($key == 0) ? 'checked=checked' : ''; ?> value="<?php echo $value->user_bank_id; ?>" >
		<img src="images/bank68/bank-<?php echo $value->bank_id; ?>.png">
		<div class="take-name text-overflow"><?php echo $value->bank_name; ?></div>
		<p><?php echo '**', substr($value->bank_card, -4, 4); ?></p>
		<p>储蓄卡 ｜ 快捷</p>
		<div class="take-title">2-5日到账</div>
		<div class="take-test">限额50000/次</div>
	</label>
	<?php endforeach; ?>
<?php else : ?>
	<p class="take-no">
		您当前没有可用提现的银行卡，请
		<a href="#binding-bank-modal" role="button" data-toggle="modal">添加银行卡</a>
	</p>
<?php endif; ?>